package com.ccb.sc.common.modules.order.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 订单项
 * </p>
 *
 * @author ken
 * @since 2020-09-25
 */
@Data
public class OrderItemCommentVo implements Serializable {

    @ApiModelProperty("订单项id")
    private Long id;

    @ApiModelProperty("商品id")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("产品编码")
    private String spu;

    @ApiModelProperty("商品规格id")
    private Long goodsSpecId;

    @ApiModelProperty("商品规格")
    private String goodsSpec;

    @ApiModelProperty("规格编码")
    private String sku;

    @ApiModelProperty("规格图片")
    private String picture;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("数量")
    private Integer quantity;

    @ApiModelProperty("兑换积分")
    private int exchangePoints;

    @ApiModelProperty("是否匿名")
    private Boolean isAnonymous = Boolean.FALSE;

    @ApiModelProperty("文字内容")
    private String content;

    @ApiModelProperty("评价图片，多张图以;分割")
    private String pictures;

    @ApiModelProperty("商品评分")
    private Integer score;
}
